from flask import Blueprint, render_template, session

index3 = Blueprint("index3",__name__)


@index3.route("/index-new1")
def my_index():
    # session参数的传递
    session["username"] = "大周老师"
    article = {
        "title": "论Python语言的学习难度",
        "count": 2001,
        "content": "我是文章<strong>内容</strong>"

    }
    return render_template("index3.html",article=article)